package com.chixing.day03_oop;

public class StudentTest {
    public static void main(String[] args) {
        /*
        *   1.new ：创建对象 开辟一块内存
        *   2.构造函数 : 初始化对象
        *
        * */
       Student stu1= new Student();
       stu1.setStuId(101);
       stu1.setStuName("Smith");

       Student stu2=new Student(102,"John");

    }
}
